package saas.consumer.service.biz;

/**
 * @title: TenantConversionRelation
 * @description: 租户转换关系实体
 * @author: guan.xin
 * @create: 2021-11-12 13:38
 * @since: JDK8
 */
public class TenantConversionRelation {

    /**
     * 店铺/库存主体编码
     */
    private String code;

    /**
     * 中台租户编码
     */
    private String mpTenantCode;

    /**
     * OMS租户编码
     */
    private String omsTenantCode;

    public String getCode() {
        return code;
    }

    public TenantConversionRelation setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMpTenantCode() {
        return mpTenantCode;
    }

    public TenantConversionRelation setMpTenantCode(String mpTenantCode) {
        this.mpTenantCode = mpTenantCode;
        return this;
    }

    public String getOmsTenantCode() {
        return omsTenantCode;
    }

    public TenantConversionRelation setOmsTenantCode(String omsTenantCode) {
        this.omsTenantCode = omsTenantCode;
        return this;
    }

    /**
     * 构建实例
     *
     * @return
     */
    public static TenantConversionRelation builder() {
        return new TenantConversionRelation();
    }

    @Override
    public String toString() {
        return "TenantConversionRelation{" +
                "code='" + code + '\'' +
                ", mpTenantCode='" + mpTenantCode + '\'' +
                ", omsTenantCode='" + omsTenantCode + '\'' +
                '}';
    }
}
